#ifndef PARSERTHREADEDTASK_H
#define PARSERTHREADEDTASK_H

#include <wx/thread.h>
#include <M_Code_threadpool.h>

class Parser;
class M_Code_Project;

class ParserThreadedTask : public cbThreadedTask {
  public:
    ParserThreadedTask( Parser* parser, wxMutex& parserCS );
    virtual int Execute();

  private:
    Parser*  m_Parser;
    wxMutex& m_ParserMutex;
};

class MarkFileAsLocalThreadedTask : public cbThreadedTask {
  public:
    MarkFileAsLocalThreadedTask( Parser* parser, M_Code_Project* project );
    virtual int Execute();

  private:
    Parser* m_Parser;
    M_Code_Project* m_Project;
};

#endif
